28/01/2024-03/02/2024

29/01/2024 23:35

Was able to install the meinberg card following the readme, which boils down to:

git clone https://git.meinbergglobal.com/drivers/mbgtools-lx.git
cd mbgtools-lx
git pull
sudo yum install kernel-devel-$(uname -r) gcc make
make clean
make
make install
sudo /sbin/modprobe mbgclock
make install_svc
git clone https://git.meinbergglobal.com/drivers/mbgtools-lx.git
cd mbgtools-lx
git pull
sudo yum install kernel-devel-$(uname -r) gcc make
make clean
make
make install
sudo /sbin/modprobe mbgclock
make install_svc

And I was able to get some example output:

[root@dhcp-10-163-105-238 mbgtools-lx-4.2.24]# mbgstatus

mbgstatus v4.2.24 copyright Meinberg 2001-2023

TCR180PEX 039212025430 (FW 1.21, ASIC 9.00) at port 0xE000, irq 47
Date/time:  Tu, 2024-01-30  04:36:10.33 UTC
Signal: 0%  (IRIG B122/B123, ** UTC offs not configured **)
Status info: *** NO INPUT SIGNAL
Status info: *** Ref. Time is Invalid
Last sync:  We, 2023-10-04  11:36:55.00 UTC

** Warning: The IRIG receiver has not yet been configured!

Please make sure the correct IRIG Code Format has been
selected, and enter the correct IRIG Time Offset from UTC
according to the settings of the IRIG generator.
The command "mbgirigcfg" can be used to change the settings.

[root@dhcp-10-163-105-238 mbgtools-lx-4.2.24]#
[root@dhcp-10-163-105-238 mbgtools-lx-4.2.24]# mbgstatus

mbgstatus v4.2.24 copyright Meinberg 2001-2023

TCR180PEX 039212025430 (FW 1.21, ASIC 9.00) at port 0xE000, irq 47
Date/time:  Tu, 2024-01-30  04:36:10.33 UTC
Signal: 0%  (IRIG B122/B123, ** UTC offs not configured **)
Status info: *** NO INPUT SIGNAL
Status info: *** Ref. Time is Invalid
Last sync:  We, 2023-10-04  11:36:55.00 UTC

** Warning: The IRIG receiver has not yet been configured!

Please make sure the correct IRIG Code Format has been
selected, and enter the correct IRIG Time Offset from UTC
according to the settings of the IRIG generator.
The command "mbgirigcfg" can be used to change the settings.

[root@dhcp-10-163-105-238 mbgtools-lx-4.2.24]#

02/02/2024 19:21

I've been mixing and matching this guide:
https://numato.com/kb/vivado-design-suite-create-microblaze-based-design-using-ip-integrator-with-nereid-kintex-7-pci-express-development-board/
and this video:
https://www.youtube.com/watch?v=C-RtLnagFuQ
To try to program the board with vitis.
Once I get to the vitis part of the numato guide linked above, I'm able to program the board in Vitis with the following steps:

  1. In Vivado In the tools dropdown in the top left, Select Launch Vitis IDE
  2. Choose any folder for a workspace, click Launch
  3. Click 'Create Application Project'
  4. Hit Next
  5. In the top bar, click Create a new platform from hardware (XSA), click browse and select the .xsa file we made earlier (mine is in C:\Users\custo\nereid_microblazer\nereid_design_wrapper.xsa). click 'Next'.
  6. For application Project name, type "hello_world", click 'Next' twice.
  7. Select "Hello World" from the emebdded software developtment templates. Click 'Finish'
  8. Power on the board with 12V power supply. Have only the 12pin JTAG connected otherwise (not the microUSB). From the XIlinx dropdown in the top left sleect program device.
  9. Select the bitstream generated earlier. Mine is at C:\Users\custo\nereid_microblazer\nereid_microblazer.runs\impl_1\nereid_design_wrapper.bit. Leave everything else default. Click 'Program' (note: I had to autoconnect in the hardware manager in Vivado beforehand or else it complains it can't find the board)

This is as far as I got. I have two issues. One, I don't know how to connect to the serial COM port with PuTTY, I get this error when trying:
5660d206e918337ce46279d0c52271b5.png
I also think somehow the microblazer is not getting recongized, because when I try to launch hardware by right clicking "hello_world" and 'Debug as->Launch Hardware (Single Application Debug)' I get the following warning:
36eb558a312a9f94876e92ffded0cadc.png
Launching anyway gives me some weird output (what looks like a bunch of register values?) but I have no idea what's happening or if it's even working.